package artid.com.arttogo.bean;

import java.io.Serializable;
import org.json.JSONObject;

/**
 * 地址实体类
 */
public class AddressList extends AppItem implements Serializable {
    String address_id;
    String true_name;
    String mob_phone;
    String addressinfo;
    String is_default;
    String area_id;
    String city_id;
    String address;
    String area_name;
    String area_name2;
    @Override
    public void parse(JSONObject obj) {
        if (null == obj) {
            return;
        }
        address_id = obj.optString("address_id");
        true_name = obj.optString("true_name");
        mob_phone = obj.optString("mob_phone");
        addressinfo = obj.optString("addressinfo");
        is_default = obj.optString("is_default");
        area_id = obj.optString("area_id");
        city_id = obj.optString("city_id");
        address = obj.optString("address");
        area_name = obj.optString("area_name");
        area_name2 = obj.optString("area_name2");



    }

    public String getArea_name() {
        return area_name;
    }

    public void setArea_name(String area_name) {
        this.area_name = area_name;
    }

    public String getArea_name2() {
        return area_name2;
    }

    public void setArea_name2(String area_name2) {
        this.area_name2 = area_name2;
    }

    public String getAddress_id() {
        return address_id;
    }

    public void setAddress_id(String address_id) {
        this.address_id = address_id;
    }

    public String getTrue_name() {
        return true_name;
    }

    public void setTrue_name(String true_name) {
        this.true_name = true_name;
    }

    public String getMob_phone() {
        return mob_phone;
    }

    public void setMob_phone(String mob_phone) {
        this.mob_phone = mob_phone;
    }

    public String getAddressinfo() {
        return addressinfo;
    }

    public void setAddressinfo(String addressinfo) {
        this.addressinfo = addressinfo;
    }

    public String getIs_default() {
        return is_default;
    }

    public void setIs_default(String is_default) {
        this.is_default = is_default;
    }

    public String getArea_id() {
        return area_id;
    }

    public void setArea_id(String area_id) {
        this.area_id = area_id;
    }

    public String getCity_id() {
        return city_id;
    }

    public void setCity_id(String city_id) {
        this.city_id = city_id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }




}
